package com.txy.webmanagement.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.command.BaseModel;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;

@Table(name = "bus_customer_relationship")
public class BusCustomerRelationship extends BaseModel {
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 8, isNull = false, isKey = true, isAutoIncrement = true)
    private Integer id;
    @Column(name = "uuid", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String uuid;
    @Column(name = "company_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String companyId;
    @Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String userId;
    @Column(name = "enable", type = MySqlTypeConstant.INT)
    private Integer enable;
    @Column(name = "create_time", type = MySqlTypeConstant.DATETIME)
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
